package com.divine.wn.car.admin.form;

import java.util.HashMap;
import java.util.List;

import com.divine.wn.car.admin.common.StrutsFormList;
import com.divine.wn.car.admin.vo.AreaVO;
import com.divine.wn.car.admin.vo.RoleVO;
import com.divine.wn.car.admin.vo.UserVO;
import com.divine.wn.car.admin.vo.VehicleVO;
import com.divine.wn.car.admin.vo.WorkflowVO;


public class MaintainVehicleForm extends BaseForm{
	
	private static final long serialVersionUID = -7455646077777250843L;

	public List<VehicleVO> getVehicleList() {
		return vehicleList;
	}

	public void setVehicleList(List<VehicleVO> vehicleList) {
		this.vehicleList = vehicleList;
	}

	List<AreaVO>  areaList=new StrutsFormList(AreaVO.class);
	
	List<RoleVO>  roleList=new StrutsFormList(RoleVO.class);
	
	List<WorkflowVO>  workflowList=new StrutsFormList(WorkflowVO.class);
	private HashMap<String,Object>  txMap=new HashMap<String,Object>();
	
	
	public HashMap<String, Object> getTxMap() {
		return txMap;
	}

	public void setTxMap(HashMap<String, Object> txMap) {
		this.txMap = txMap;
	}

	public void setAttribute(String attributeKey,Object attributeValue) {

		getTxMap().put(attributeKey,attributeValue);

		}

		public Object getAttribute(String attributeKey) {

		Object keyValue = getTxMap().get(attributeKey);

		return keyValue;

		}
	
	

	public List<WorkflowVO> getWorkflowList() {
		return workflowList;
	}

	public void setWorkflowList(List<WorkflowVO> workflowList) {
		this.workflowList = workflowList;
	}

	public List<RoleVO> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<RoleVO> roleList) {
		this.roleList = roleList;
	}

	public List<AreaVO> getAreaList() {
		return areaList;
	}

	public void setAreaList(List<AreaVO> areaList) {
		this.areaList = areaList;
	}

	List<VehicleVO>  vehicleList=new StrutsFormList(VehicleVO.class);
	private String tableID;
	
public String getTableID() {
		return tableID;
	}

	public void setTableID(String tableID) {
		this.tableID = tableID;
	}

private UserVO userVO=new UserVO();
	
	public UserVO getUserVO() {
		return userVO;
	}
	public void setUserVO(UserVO userVO) {
		this.userVO = userVO;
	}
	

}
